package cn.gson.crmdemo.model.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

@Mapper
public interface CustomerMapper {

	public JSONArray selectCustomerName();
	
	public JSONArray selectCustomerAll();
	
	public JSONArray selectCusId(@Param("customer_id")Integer cusId);
	
	public JSONArray selectMoHuCustomerName(@Param("customerName")String customerName);

	public JSONArray selectType(Integer customerType);
	
	public JSONArray selectXq(@Param("saleId")Integer saleId);
	//	public void deleteCustemer(Integer customerId);
	

	public void delCustomerId(@Param("customerId")Integer customerId);
	
	public void updateSaleState(Integer customerId);
	
	public void updateQuotation(Integer customerId);
	
	public List<String> selectCustomerPhone(String customer_phone);
	
	
}
